package com.sg.dto.biz.pbff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;


/**
 * @desc BffRoleRecommendBizSceneDto
 * @使用场景
 */
@Data
public class BffRoleRecommendBizSceneDto implements Serializable {

    /**
     * 推荐角色记录ID
     */
    @ApiModelProperty("推荐角色记录ID")
    private String topBizSceneRecordId;

    /**
     * 推荐的角色ID
     */
    @ApiModelProperty("推荐的角色ID")
    private String roleId;

    /**
     * 角色标识
     */
    @ApiModelProperty("角色标识")
    private String roleCode;

    /**
     * 业务应用ID
     */
    @ApiModelProperty("业务应用ID")
    private String bizAppId;

    /**
     * 业务应用标识
     */
    @ApiModelProperty("业务应用标识")
    private String bizAppCode;

    /**
     * 业务应用名称
     */
    @ApiModelProperty("业务应用名称")
    private String bizAppName;

    /**
     * 业务场景ID
     */
    @ApiModelProperty("业务场景ID")
    private String bizSceneId;

    /**
     * 业务场景编码
     */
    @ApiModelProperty("业务场景编码")
    private String bizSenceCode;

    /**
     * 业务场景名称
     */
    @ApiModelProperty("业务场景名称")
    private String bizSceneName;

    /**
     * 主体生命周期 CURRENTLY_VALID:当前有效 EDITING:正在编辑 ARCHIVING:历史存档
     */
    @ApiModelProperty("主体生命周期")
    private String subjectLifeCycle;

    /**
     * 操作人就职记录ID
     */
    @ApiModelProperty("操作人就职记录ID")
    private String operationInductionId;

    /**
     * 操作时间
     */
    @ApiModelProperty("操作时间")
    private Date operateTime;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffRoleRecommendBizSceneDto that = (BffRoleRecommendBizSceneDto) o;
        return topBizSceneRecordId == that.topBizSceneRecordId && roleId == that.roleId && roleCode == that.roleCode && bizAppId == that.bizAppId && bizAppCode == that.bizAppCode && bizAppName == that.bizAppName && bizSceneId == that.bizSceneId && bizSenceCode == that.bizSenceCode && bizSceneName == that.bizSceneName && subjectLifeCycle == that.subjectLifeCycle && operationInductionId == that.operationInductionId && operateTime == that.operateTime;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), topBizSceneRecordId, roleId, roleCode, bizAppId, bizAppCode, bizAppName, bizSceneId, bizSenceCode, bizSceneName, subjectLifeCycle, operationInductionId, operateTime);
    }


}
   